var mysql = require('mysql');
//金山数据库
var connection = mysql.createConnection({
    host: 'db.zankong.com.cn',
    user: 'root',
    password: '5tgb^YHN',
    database: 'jinshan'
});
connection.connect();
//基础配置数据库
var connection1 = mysql.createConnection({
    host: 'db.zankong.com.cn',
    user: 'root',
    password: '5tgb^YHN',
    database: 'basicconfiguration'
});
connection1.connect();
//阿米巴数据库
var connection2 = mysql.createConnection({
    host: 'db.zankong.com.cn',
    user: 'root',
    password: '5tgb^YHN',
    database: 'amiba'
});
connection2.connect();
module.exports = {
    connection,
    connection1,
    connection2,
};
